package com.zk.virtual;

public class VirtualBase {
    /**
     * static 方法不是virtual的
     */
    public static void test(){
        System.out.println("this is called in base.");
    }

    public void testVirtual() {
        System.out.println("testVirtual is called in base.");
    }
}
